[SDTEST-3825] Treat disabled managed tests as skipped#74
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1b9616c134
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
E2E Test Report: SUCCESSTested by: Shepherd Agent (autonomous QA for Datadog Test Optimization) Test Environment
Results
Planner Evidence
Issues FoundShepherd Mockdog did not previously support VerificationThis was a planning-only local Mockdog E2E run, so no live Datadog UI verification was performed. The verification target was the generated ddtest plan and cached backend responses. This E2E test was performed by Shepherd - autonomous QA agent for Datadog Test Optimization |
What
Treat disabled tests from Datadog Test Management as skipped during planning, alongside TIA skippable tests. Module is now part of test FQNs for both TIA skippable data and test-management disabled data so same suite/name tests in different modules do not collide.
Why
Test Management can mark tests as disabled, and ddtest should honor that state when deciding which discovered tests to skip. This keeps planner behavior aligned with Datadog-managed test state while preserving the existing rule that full test discovery only depends on TIA/test-skipping settings.
E2E testing
In a repository with TIA and Test Management enabled, mark one test as disabled in Datadog Test Management and run
ddtest plan; confirm the generated plan skips the test file that contains only disabled tests even when they are not returned as TIA-skippable.Check that skipping test files where tests are skipped by TIA still work.
Check that test files where some tests are disabled and some are skipped by TIA is also fully skipped by ddtest planning